package cc.mrbird.monitoring.service;

import cc.mrbird.assets.domain.AssetMana;
import cc.mrbird.assets.domain.AssetType;
import org.springframework.cache.annotation.CacheConfig;

import java.util.List;

@CacheConfig(cacheNames = "MonitoringService")
public interface MonitoringService {
    List<AssetType> findAllTypeAndId();
    List<AssetType> findTotalType();
    List<Integer> findNumerByType(String typeName);
    List<AssetMana> findAllEquipment();
    List<AssetMana> findAllNormal();
    List<AssetMana> findAllFault();
    List<AssetMana> findAllUnconnected();
    List<AssetMana> findAllUnenabled();
    List<AssetMana> fingAllByIds(String ids);

    List<AssetMana> findAllAssetByTypeAndStatus(String asset_type, Integer equipment_satus);
}